<template>
	<div class="kComponent" :class="'design'" >


		<uni-col :span="datas.span" class="layout-col" :key="'klayoutCol-' + Date.now() + '-' + index" style="display: inline;">
			<dragContainer :parentComponent="parentComponent" > </dragContainer>
		</uni-col>

		<!-- 删除组件 -->
		<slot name="deles" />
		<div style="clear: both "></div>
	</div>
</template>

<script>
	export default {
		name: 'kLayoutCol',
		props: {
			datas: Object,
			parentComponent: Object
		},
		data() {
			return {

				// currentIndex: -1
			}
		},
		mounted() {},
		methods: {

		}
	}
</script>

<style scoped lang="scss">
	.design {

		// background-color: #f5f5f5;
		.layout-col {
			min-height: 40px;
			border: 0.5px dashed $uni-color-primary;
			padding-bottom: 3px;
		}

	}
</style>